import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 列表查询 /ttVsTestDirveCheck/page
export const queryList = (params) => axios.post(`${SERVER.RETAIL}/ttVsTestDirveCheck/page`, params)


// 详情  /ttVsTestDirveCheck/detailedQuery
export const queryById = (id) => axios.get(`${SERVER.RETAIL}/ttVsTestDirveCheck/detailedQuery?id=${id}`)


// 导出 /ttVsTestDirveCheck/excel
export const exportExcel = (params) => axios.post(`${SERVER.RETAIL}/ttVsTestDirveCheck/excel`, params, {
  responseType: 'blob'
})

// / 导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);
